/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package MyClass;

import javax.microedition.lcdui.Image;
import javax.microedition.lcdui.game.TiledLayer;

/**
 *
 * @author HuuTai_it
 */
public class Difficulties extends TiledLayer {
    
    public Difficulties (Image diffImage) throws Exception {
        
        super(1, 1, diffImage, 75, 15);
        setPosition(82, 255);
    }
    
    public void setDiff (int d) {
        
        setCell(0, 0, d);
    }
    
}
